﻿using AnlianCommon.Common.DTO;
using MediatR;

namespace AnlianCommon.API.Commands.Cottages
{
    public class CottageCreateCommand : IRequest<Result>
    {
        /// <summary>
        /// 栋舍类型
        /// </summary>
        public string? CottageTypeId { get; set; }
        /// <summary>
        /// 栋舍名称
        /// </summary>
        public string? CottageName { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? PersId { get; set; }
        /// <summary>
        /// 生产人员
        /// </summary>
        public string? Production { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string? Status { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Ramark { get; set; }
        /// <summary>
        /// 单位Id(外键)
        /// </summary>
        public int? FlatId { get; set; }
        /// <summary>
        /// 羊场Id(外键)
        /// </summary>
        public int? FarmId { get; set; }
        public string? CreatedOwnerId { get; set; }
    }
}
